import { request } from '@/utils';
import { getRestBaseUrl } from '@/config';

// 获取渠道
export const loadChannel = topChannelCode =>
  request({
    url: `${getRestBaseUrl()}/iop/channelService/listAvailable`,
    method: 'POST',
    data: { topChannelCode },
  });
